package com.dzl.goods.service;

import com.dzl.base.service.BaseService;
import com.dzl.goods.pojo.WelfareGoodsCategory;
import com.dzl.goods.pojo.query.WelfareGoodsCategoryQuery;
import com.dzl.goods.pojo.vo.WelfareGoodsCategoryVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 商品品类表(WelfareGoodsCategory)表服务接口
 * @author wangjian
 * @date 2021-09-18 09:51:15
 */
public interface WelfareGoodsCategoryService extends BaseService<WelfareGoodsCategory> {

    /**
     * 分页查询商品品类
     * @date 2021/9/18 0018 9:56
     * @author wangjian
     * @param welfareGoodsCategoryQuery 查询条件
     * @return java.util.List<com.dzl.goods.pojo.WelfareGoodsCategory>
     */
    PageInfo<WelfareGoodsCategoryVo> selectCategoryListPage(WelfareGoodsCategoryQuery welfareGoodsCategoryQuery);

    /**
     * 查询所有商品品类
     * @date 2021/12/21 10:06
     * @author liuguanjun
     */
    List<WelfareGoodsCategoryVo> selectCategoryListData();

    /**
     * 删除品类
     * @date 2021/9/27 0027 13:53
     * @author wangjian
     * @param id 品类ID
     * @return java.lang.Integer
     */
    Integer deleteCategory(Integer id);

}